package com.hhkj.admin.order.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BizBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 记录每条订单内的学员的退款情况
 *
 * @TableName s_order_refund_item_asso
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "s_order_refund_item_asso")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderRefundItemAsso extends BizBaseEntity {

    /**
     * 关联的订单id，关联s_order_item
     */
    @TableField(value = "order_item_id")
    private Long orderItemId;

    /**
     * 学员的退款情况，关联s_order_refund
     */
    @TableField(value = "refund_id")
    private Long refundId;

}